package com.groupbuying.payproducer.constants;

public class CommonConstants {
    public final static String CONTEXT_TOKEN="Authorization";
    public final static String CONTEXT_USERNAME="contextUsername";
    public final static String CONTEXT_USER_ID="contextUserId";
    public final static String CONTEXT_NAME="contextName";
    public final static String JWT_PRIVATE_KEY ="ywxd";
    public final static String RENEWAL_TIME =  "renewalTime";
    public final static String TOKEN = "token";

    /**
     * 删除状态，1表示未删除
     */
    public static final String COMMON_FLAG_UNDEL = "1";
    /**
     * 删除状态，0表示删除
     */
    public static final String COMMON_FLAG_DEL = "0";

    /**
     * 启用状态，1表示正常使用
     */
    public static final String COMMON_STATE_UES = "1";

    /**
     * 启用状态，0表示未启用
     */
    public static final String COMMON_STATE_UNUES = "0";

    /**
     * 用户token过期时间，天
     */
    public static final Long COMMON_TOKEN_DAY = new Long(30);


    //银盛支付方式
    /**
     * 微信-1902000
     */
    public static final String YS_BANK_TYPE_WECHAT = "1902000";
    /**
     * 支付宝-1903000
     */
    public static final String YS_BANK_TYPE_ALI = "1903000";
    /**
     * ,QQ钱包支付-1904000
     */
    public static final String YS_BANK_TYPE_QQ = "1904000";
    /**
     * Apple pay-1906000
     */
    public static final String YS_BANK_TYPE_APPLE = "1906000";
}
